//
// Created by codex on 2024/7/15.
//

#ifndef ROSF4_PWM_H
#define ROSF4_PWM_H
#include "main.h"

#define ON 0xA0
#define OFF 0xA1
typedef struct
{
    int pwm1_period;
    int pwm2_period;

    uint8_t pwm1_sta;
    uint8_t pwm2_sta;
}pwm_s;
void my_pwm_setperiod(uint8_t tag,uint8_t period);
void angle_set(uint8_t tag,int angle);
void PWM_S_init();
#endif //ROSF4_PWM_H
